package com.hbt.word_provider.dao;

import com.hbt.api.entity.Feature;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface FeatureMapper {
    public int insertFeature(Feature feature);

    @Select("select *from feature where descript = #{descript}")
    public Feature getFeature(Feature feature);


    public List<Feature> getFeaturesByWordId(int wordid);
}
